package newcoder.lx_16进制数;

import java.util.Scanner;

/**
 * @Author Mr.wang
 * @Description
 * @Date 2020-04-11
 */
public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String nextLine = scanner.nextLine();
            System.out.println(Integer.decode(nextLine));
        }
    }

}
